Skip to content

Conversation

@ktanska
Copy link
Contributor

@ktanska ktanska commented Oct 24, 2024

When grow-continue process is on, the sync_action represents value which means that recovery is in progress. When grow-continue does not finish, even if sync_action is not reshape anymore, test should fail.

Copy link

@mku514k mku514k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few requests from me.

@ktanska ktanska force-pushed the fix_wait branch 2 times, most recently from 72bb550 to 9672991 Compare October 28, 2024 07:29
@mku514k
Copy link

mku514k commented Oct 28, 2024

@ktanska I see you marked the conversation as resolved, but I do not see any changes pushed here for the first patch.

Do you plan to update first commit?

@ktanska ktanska force-pushed the fix_wait branch 3 times, most recently from 7072c41 to 0fe25c2 Compare October 29, 2024 09:07
Copy link
Member

@mtkaczyk mtkaczyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@mtkaczyk mtkaczyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some comments for patch 2.

Copy link
Member

@mtkaczyk mtkaczyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

much better

This test could hang if "check" action is not written to sync_action. If
this value didn't appear, test hanged on infinite while loop. Add 5
second timeout to loop.

Signed-off-by: Kinga Stefaniuk <[email protected]>
@ktanska ktanska force-pushed the fix_wait branch 2 times, most recently from b409702 to 72265bd Compare November 8, 2024 11:42
@ktanska
Copy link
Contributor Author

ktanska commented Nov 8, 2024

@mtkaczyk @mku514k please review
Logs from run with this pr you can find here: https://github.com/md-raid-utilities/mdadm/actions/runs/11738905324/job/32702330296?pr=86

@ktanska ktanska requested review from mku514k and mtkaczyk November 8, 2024 11:44
When grow-continue process is ongoing, sync_action indicates that
recovery is in progress. If grow-continue does not finish,
even if sync_action is not "reshape" anymore, the test should fail.

Signed-off-by: Kinga Stefaniuk <[email protected]>
@mtkaczyk mtkaczyk merged commit f0ed3e2 into md-raid-utilities:main Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants